package com.uuah.server.transport.provider.mina.config;

import com.uuah.server.config.spring.handlers.AbstractUuahNamespaceHandler;
import com.uuah.server.endpoint.URIBuilder;
import com.uuah.server.transport.provider.mina.MinaConnector;
import com.uuah.server.transport.provider.mina.MinaProperties;

/**
 *Registers a Bean Definition Parser for handling <code><tcp:connector></code>
 * elements. TODO comment ...
 *
 * <p>
 * update record:updator，update time，update content and version
 * </p>
 *
 * @author <a href="jonny_quan@hotmail.com">jonny</a>
 * @date 2009 2009-3-27 下午02:10:23
 * @version 1.0.0
 */
public class MinaNamespaceHandler extends AbstractUuahNamespaceHandler {

	public void init() {
		registerStandardTransportEndpoints(MinaProperties.MINA_PROTOCOL_PREFEX,
				URIBuilder.SOCKET_ATTRIBUTES);
		registerConnectorDefinitionParser(MinaConnector.class);
	}

}